package net.imwork.lee9213.bean;

import java.lang.reflect.Method;

/**
 * 封装Action信息
 *
 * @author lee9213@163.com
 * @version 1.0
 * @date 2017-03-19 13:08
 */
public class Handler {

    /**
     * Controller类
     */
    private Class<?> controllerClasses;

    /**
     * Action方法
     */
    private Method actionMethod;

    public Handler(Class<?> controllerClasses, Method actionMethod) {
        this.controllerClasses = controllerClasses;
        this.actionMethod = actionMethod;
    }

    public Class<?> getControllerClasses() {
        return controllerClasses;
    }

    public Method getActionMethod() {
        return actionMethod;
    }
}
